import request from '@/utils/request'

export function getData(data) {
  return request({
    url: '/line/list',
    method: 'get',
    data: data
  })
}
export function addData(data) {
    return request({
      url: '/line',
      method: 'post',
      data: data
    })
  }
  export function putData(data) {
    return request({
      url: '/line',
      method: 'put',
      data
    })
  }